import frappe

def get_context(context):
    # context.users = frappe.get_list("User", fields=["first_name", "last_name"])
    context.equipment_name = frappe.get_all("EMS Equipment Card", filters={'name': frappe.form_dict.id}, fields=['equipment_name'])[0]["equipment_name"]
    context.equipment_number = frappe.form_dict.id
    return context

@frappe.whitelist()
def my_requests1(query_url):
    return query_url